package model

import (
	"gorm.io/gorm"
	"time"
)

type Users struct {
	Id        int64          `gorm:"column:id;type:bigint;primaryKey;not null;" json:"id"`
	Name      string         `gorm:"column:name;type:varchar(255);default:NULL;" json:"name"`
	Password  string         `gorm:"column:password;type:varchar(255);default:NULL;" json:"password"`
	CreatedAt time.Time      `gorm:"column:created_at;type:datetime;default:CURRENT_TIMESTAMP;" json:"created_at"`
	UpdatedAt time.Time      `gorm:"column:updated_at;type:datetime;default:CURRENT_TIMESTAMP;" json:"updated_at"`
	DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;type:datetime;default:NULL;" json:"deleted_at"`
}
